package com.smarthospital.entity.dto;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * create by sym  2021/5/29 21:40.
 */
@Data
@ApiModel(description = "微信查询订单返回值")
public class WXQueryOderDTO {
    @ApiModelProperty("appid 直连商户申请的公众号或移动应用appid")
    @JsonIgnore
    private String appid;
    @ApiModelProperty(" 直连商户申请的公众号或移动应用appid")
    @JsonIgnore
    private String mchid;
    @ApiModelProperty("直连商户订单号")
    private String out_trade_no;
    @ApiModelProperty("微信订单号")
    private String transaction_id;
    @ApiModelProperty("交易状态，枚举值：\n" +
            "SUCCESS：支付成功\n" +
            "REFUND：转入退款\n" +
            "NOTPAY：未支付\n" +
            "CLOSED：已关闭\n" +
            "REVOKED：已撤销（付款码支付）\n" +
            "USERPAYING：用户支付中（付款码支付）\n" +
            "PAYERROR：支付失败(其他原因，如银行返回失败)\n" +
            "ACCEPT：已接收，等待扣款")
    private String trade_state;
    @ApiModelProperty("交易状态描述")
    private String trade_state_desc;
    @ApiModelProperty("支付者信息 openid")
    @JsonIgnore
    private JSONObject payer;
}
